﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/themes/default/style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/css/core.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/validation.css")" rel="stylesheet" type="text/css" />
    <!--
<link href="@@Url.Content("~/DWZ/uploadify/css/uploadify.css")" rel="stylesheet" type="text/css" />
-->
    <script src="@Url.Content("~/Scripts/speedup.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.js")" type="text/javascript" />
    <script src="@Url.Content("~/Scripts/jquery.cookie.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.bgiframe.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/xheditor-1.1.9-zh-cn.min.js")" type="text/javascript"></script>
    <!--
<script src="@@Url.Content("~/Scripts/DWZ/uploadify/scripts/swfobject.js")" type="text/javascript"></script>
<script src="@@Url.Content("~/Scripts/DWZ/uploadify/scripts/jquery.uploadify.v2.1.0.js")" type="text/javascript"></script>
-->
    <script src="@Url.Content("~/Scripts/DWZ/dwz.core.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.util.date.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.validate.method.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.regional.zh.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.barDrag.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.drag.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.tree.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.accordion.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.ui.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.theme.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.switchEnv.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.alertMsg.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.contextmenu.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.navTab.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.tab.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.resize.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.dialog.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.dialogDrag.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.cssTable.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.stable.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.taskBar.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.ajax.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.pagination.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.database.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.datepicker.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.effects.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.panel.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.checkbox.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.history.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.combox.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DWZ/dwz.regional.zh.js")" type="text/javascript"></script>
    <link href="../../Scripts/ligerUI/skins/Aqua/css/ligerui-tree.css" rel="stylesheet"
        type="text/css" />
    <script src="../../Scripts/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
        DWZ.init("@Url.Content("~/dwz.frag.xml")",  {
            loginUrl: "login_dialog.html", loginTitle: "登录", // 弹出登录对话框
            //		loginUrl:"login.html",	// 跳到登录页面
            statusCode: { ok: 200, error: 300, timeout: 301 }, //【可选】
            pageInfo: { pageNum: "pageNum", numPerPage: "numPerPage", orderField: "orderField", orderDirection: "orderDirection" }, //【可选】
            debug: false, // 调试模式 【true|false】
            callback: function () {
                initEnv();
                $("#themeList").theme({ themeBase: "../../Content/themes" }); // themeBase 相对于index页面的主题base路径
            }
        });
    });
    </script>
    @RenderSection("Head")
</head>
<body scroll="no">
    <div id="layout">
        <div id="header">
            <div class="headerNav">
                <a class="logo" href="http://j-ui.com">标志</a>
                <ul class="nav">
                    <li id="switchEnvBox"><a href="javascript:">（<span>北京</span>）切换城市</a>
                        <ul>
                            <li><a href="sidebar_1.html">北京</a></li>
                            <li><a href="sidebar_2.html">上海</a></li>
                            <li><a href="sidebar_2.html">南京</a></li>
                            <li><a href="sidebar_2.html">深圳</a></li>
                            <li><a href="sidebar_2.html">广州</a></li>
                            <li><a href="sidebar_2.html">天津</a></li>
                            <li><a href="sidebar_2.html">杭州</a></li>
                        </ul>
                    </li>
                    <li><a href="changepwd.html" target="dialog" width="600">设置</a></li>
                    <li><a href="http://www.cnblogs.com/dwzjs" target="_blank">博客</a></li>
                    <li><a href="http://weibo.com/dwzui" target="_blank">微博</a></li>
                    <li><a href="http://bbs.dwzjs.com" target="_blank">论坛</a></li>
                    <li>
                        @if (!User.Identity.IsAuthenticated)
                        { 
                            @Html.ActionLink("登陆", "LogOn", "Account")
                        }
                        else
                        { 
                            <span style="color: White">@User.Identity.Name</span>@Html.ActionLink("登出", "LogOff", "Account")
                        }
                    </li>
                </ul>
                <ul class="themeList" id="themeList">
                    <li theme="default">
                        <div class="selected">
                            蓝色</div>
                    </li>
                    <li theme="green">
                        <div>
                            绿色</div>
                    </li>
                    <!--<li theme="red"><div>红色</div></li>-->
                    <li theme="purple">
                        <div>
                            紫色</div>
                    </li>
                    <li theme="silver">
                        <div>
                            银色</div>
                    </li>
                    <li theme="azure">
                        <div>
                            天蓝</div>
                    </li>
                </ul>
            </div>
            <!-- navMenu -->
        </div>
        <div id="leftside">
            <div id="sidebar_s">
                <div class="collapse">
                    <div class="toggleCollapse">
                        <div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="sidebar">
                <div class="toggleCollapse">
                    <h2>
                        主菜单</h2>
                    <div>
                        收缩</div>
                </div>
                <div class="accordion" fillspace="sidebar">
                    <div class="accordionHeader">
                        <h2>
                            <span>Folder</span>药房管理</h2>
                    </div>
                    <div class="accordionContent">
                        <ul class="tree treeFolder">
                            <li><a href="@Url.Action("Index", "DrugStoreManage")" target="navTab" rel="page-drugstoremanage">
                                药房列表</a></li>
                            <li><a href="@Url.Action("List", "Review")" target="navTab" rel="page-drugstorereview">
                                药房审核情况</a></li>
                        </ul>
                    </div>
                    <div class="accordionHeader">
                        <h2>
                            <span>Folder</span>药房考核</h2>
                    </div>
                    <div class="accordionContent">
                        <ul class="tree treeFolder">
                            <li><a href="javascript:void(0)">开始考核</a>
                                <ul>
                                    @{
                                        CVsharp.DWZMvc.Models.yjjDBEntities db = new CVsharp.DWZMvc.Models.yjjDBEntities();
                                        List<CVsharp.DWZMvc.Models.sys_dict> dict = (from d in db.sys_dict
                                                                                       where d.Name == "考核项目"
                                                                                       select d).ToList();
                                        foreach (var i in dict)
                                        {
                                        <li><a href="@Url.Action("Index", "Review", new { dictid = i.DictID })" target="navTab" rel="page-GradeList">@i.ValueString</a></li>
                                        }
                                    }
                                </ul>
                            </li>
                            <li><a href="/Review/ConfigAdd" target="navTab" rel="GradeConfigAdd">添加考核细则</a></li>
                            <li><a href="/Review/ConfigList" target="navTab" rel="GradeConfig">查看考核配置</a></li>
                        </ul>
                    </div>
                    <div class="accordionHeader">
                        <h2>
                            <span>Folder</span>系统管理</h2>
                    </div>
                    <div class="accordionContent">
                        <ul class="tree treeFolder">
                            <li><a href="@Url.Action("SetUser", "Account")" rel="UsersTree"  target="navTab">权限管理</a>
                                <ul>
                                    <li><a href="@Url.Action("UserList", "SystemManage")" target="navTab" rel="page-Userlist">
                                        用户列表</a></li>
                                </ul>
                                <ul>
                                    <li><a href="@Url.Action("UserOnline", "SystemManage")" target="navTab" rel="page-UserOnline">
                                        在线用户</a></li>
                                </ul>
                                <ul>
                                    <li><a href="@Url.Action("SetUser", "Account")" rel="UsersTree" target="navTab">用户分配</a></li>
                                </ul>
                                <ul>
                                    <li><a href="@Url.Action("SetPermission", "Account")" rel="Account" target="navTab">
                                        设置权限</a></li>
                                </ul>
                            </li>
                            <li><a href="@Url.Action("Index", "Log")" target="navTab">日志管理</a>
                                <ul>
                                    <li><a href="@Url.Action("Index", "ChangeLog")" rel="ChangeLog"  target="navTab">软件更新日志</a></li>
                                </ul>
                                <ul>
                                    <li><a href="@Url.Action("Index", "Log")" rel="Log" target="navTab">系统日志</a></li>
                                </ul>
                                <ul>
                                    <li><a href="@Url.Action("UserAcctionLog", "SystemManage")" target="navTab" rel="page-UserAcctionLog">
                                        用户操作日志</a></li>
                                </ul>
                                <ul>
                                    <li><a href="@Url.Action("SystemErrorLog", "SystemManage")" target="navTab" rel="page-SystemErrorLog">
                                        系统出错日志</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div id="container">
            <div id="navTab" class="tabsPage">
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent">
                        <!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
                        <ul class="navTab-tab">
                            <li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft">
                        left</div>
                    <!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
                    <div class="tabsRight">
                        right</div>
                    <!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
                    <div class="tabsMore">
                        more</div>
                </div>
                <ul class="tabsMoreList">
                    <li><a href="javascript:;">我的主页</a></li>
                </ul>
                @RenderBody()
            </div>
        </div>
    </div>
    <div id="footer">
        Copyright &copy; 2010 <a href="demo_page2.html" target="dialog">DWZ团队</a></div>
    <!-- 注意此处js代码用于google站点统计，非DWZ代码，请删除 -->
    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-16716654-1']);
        _gaq.push(['_trackPageview']);

        (function () {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? ' https://ssl' : ' http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();
    </script>
</body>
</html>
